/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.soccer.cms.modules.cms.entity;

import org.hibernate.validator.constraints.Length;

import com.soccer.cms.common.persistence.DataEntity;

/**
 * 俱乐部Entity
 * @author zouqh
 * @version 2015-05-25
 */
public class Club extends DataEntity<Club> {
	
	private static final long serialVersionUID = 1L;
	private String code;		// 编码
	private String name;		// 名称
	private Integer clubsort;		// 顺序
	private String brefintro;		// 简介
	
	public Club() {
		super();
	}

	public Club(String id){
		super(id);
	}

	@Length(min=0, max=50, message="编码长度必须介于 0 和 50 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Length(min=0, max=100, message="名称长度必须介于 0 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getClubsort() {
		return clubsort;
	}

	public void setClubsort(Integer clubsort) {
		this.clubsort = clubsort;
	}
	
	@Length(min=0, max=2000, message="简介长度必须介于 0 和 2000 之间")
	public String getBrefintro() {
		return brefintro;
	}

	public void setBrefintro(String brefintro) {
		this.brefintro = brefintro;
	}
	
}